/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shanhesoft.java.common.persistence.domain.IdEntity;

import lombok.*;

import javax.validation.constraints.Size;

/**
 * 试卷试题管理Entity 试卷试题管理
 * @author admin
 * @version 2020-09-26 15:53:22
 */
@TableName(value = "t_paper_que")
@Data @ToString @NoArgsConstructor @AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PaperQue extends IdEntity<PaperQue> {

	private static final long serialVersionUID = 1L;
	/** F_QUETYPE que_type  :  题类型 */
	public static final String F_QUETYPE = "queType";
	/** F_QUEID que_id  :  题目ID */
	public static final String F_QUEID = "queId";
	/** F_PAPERID paper_id  :  试卷id */
	public static final String F_PAPERID = "paperId";
	/** F_SCORE score  :  试题分值 */
	public static final String F_SCORE = "score";

	/** queType 题类型 */
	@TableField("que_type")
	private Long queType;
	/** queId 题目ID */@Size(max=50)
	@TableField("que_id")
	private String queId;
	/** paperId 试卷id */@Size(max=50)
	@TableField("paper_id")
	private String paperId;
	@TableField("score")
	private Integer score;


	@Override
    public boolean equals(Object o) {
        return super.equals(o);
    }
    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
